package net.oschina.app.Page;

import android.widget.LinearLayout;
import android.widget.ListView;

import net.oschina.app.SoloWrap;

/**
 * Created by kola on 2017/4/4.
 * 对主页文章进行抽取
 */

public class PageHome {
    private SoloWrap solo;
    private ListView listView;

    public PageHome(SoloWrap solo) {
        this.solo = solo;
    }
    public void initViews(){
        solo.waitForText("综合");
        listView=(ListView)solo.getView("net.oschina.app:id/listView");


    }
    public void clickTitles(int rows){
        solo.clickOnView(listView.getChildAt(rows));

    }

}
